package grape.workflow.service.task.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import grape.workflow.service.task.dto.TaskDto;
import grape.workflow.service.task.query.TaskQuery;
import org.apache.ibatis.annotations.Param;

/**
 * Created by yangwei
 * Created at 2020/6/17 10:49
 */
public interface TaskMapper {

    /**
     * 查询无法认领的任务
     * 当前加这个是因为通过businessKey查询，没有找到接口
     * @param taskParam
     * @return
     */
    IPage<TaskDto> taskUnreachable(IPage<TaskDto> page, @Param("taskQuery") TaskQuery taskParam);
}
